package com.zyg.apart.mapper;

import com.zyg.apart.model.Leasecontract;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface LeasecontractMapper {

    List<Map<String, Object>> getAllLC();

    Map<String,Object> getLCById(Integer id);

    int editLC(Leasecontract leasecontract);

    int addLC(Leasecontract leasecontract);

    int delLCById(Integer id);
}